package com.douhl.framework.web.base.model;

import lombok.Data;

import java.io.Serializable;

/**
 * 数据模型基类
 * @author douhl
 */
@Data
public abstract class BaseModel<ID> implements Serializable {
    private static final long serialVersionUID = 7258436689721815928L;

    public abstract ID getId();

    public abstract void setId(ID id);

}
